package com.fairytask.net
{
	import com.smartfoxserver.v2.core.SFSEvent;
	import com.smartfoxserver.v2.entities.data.SFSObject;

	/**
	 * 自定义事件 
	 * @author game
	 * 
	 */	
	public class CustomToClientEvent extends SFSEvent
	{
		public var pData	:SFSObject;
		
		public static const USER_INFO		:String	=	"user_info";
		//切换场景
		public static const	SCENE_SWITCH:String=	"scene_switch";
		//收到更新时间的消息
		public static var SERVER_CUSTOMMSG_SHOW_ONLINE_PRIZE:String;
		//时间到了可以领奖了
		public static var SERVER_CUSTOMMSG_GET_ONLINE_PRIZE_SUCCESS:String;
		//收到领奖成功的消息
		public static var SERVER_CUSTOMMSG_GET_ONLINE_PRIZE:String	=	"SERVER_CUSTOMMSG_GET_ONLINE_PRIZE";
		///完成效果
		public static var SERVER_COMPLETE_MAGIC:String	=	"1001";
		public static var SERVER_COMPLETE_SHOWAWARD:String	=	"SERVER_COMPLETE_SHOWAWARD";
		//再次播放特效
		public static var SERVER_COMPLETE_MAGIC_AGAIN:String	=	"1002";
		
		public function CustomToClientEvent(type:String, params:SFSObject)
		{
			pData	=	params;
			super(type, null);
		}
	}
}